using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zadatak_1
{
    class Program
    {
        static void Main(string[] args)
        {
            int n,br,i,pol,z;
            
             n = Convert.ToInt32(Console.ReadLine());
               int []a = new int [n];

               for (i = 0; i < n; i++)
               {
                   a[i] = Convert.ToInt32(Console.ReadLine()); 
               }

               if (n % 2 == 0)
               {
                   pol = n / 2;

                   for (i = 0; i < n; i++)
                   {
                       if (i == pol)
                       {
                           Console.WriteLine(a[i]);
                       }
                   }
               }
               else
               {
                   z = 0;

               for (i = 0; i < n; i++)
                 {

                    pol = n / 2;

                 if (i == pol)
          
                  {
                    z = z + pol+1;
                    Console.WriteLine(a[i]);
                  }
                 }
               }
               Console.ReadKey(); 
        }
    }
}